<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name="Generator" content="ECSHOP v2.7.3">
    <meta charset="utf-8">
    <title>美尚登陆</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">

    <link href="css/ectouch.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src="js/jquery-1.js"></script>
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/shopping_flow.js"></script>
    <script type="text/javascript" src="js/transport.js"></script>
    <script type="text/javascript" src="js/utils.js"></script>
    <script type="text/javascript" src="js/TouchSlide.js"></script>
    <script type="text/javascript" src="js/ectouch.js"></script>

</head>

<body ryt12143="1" ryt14337="1">
<div id="page">
    <header id="header">
        <div class="header_l"> <a class="ico_10" onclick="javascript:history.go(-1)"> 返回 </a> </div>
        <h1> 登录/注册 </h1>
    </header>
</div>
<div class="blank2"></div>

<section class="wrap">
    <script type="text/javascript" src="js/user.js"></script>
    <script type="text/javascript">
        var username_not_null = "请您输入用户名。";
        var username_invalid = "您输入了一个无效的用户名。";
        var password_not_null = "请您输入密码。";
        var email_not_null = "请您输入电子邮件。";
        var email_invalid = "您输入的电子邮件不正确。";
        var password_not_same = "您输入的密码和确认密码不一致。";
        var password_lt_six = "密码不能小于6个字符。";

        function checkLoginForm(frm) {
            if (Utils.isEmpty(frm.elements['username'].value)) {
                alert(username_not_null);
                return false;
            }

            if (Utils.isEmpty(frm.elements['password'].value)) {
                alert(password_not_null);
                return false;
            }

            return true;
        }
    </script>

    <div id="leftTabBox" class="loginBox">
        <div class="hd"> <span>登录后可体验更多服务</span>
            <ul>
                <li class=""><a>登录</a></li>
                <li class="on"><a>注册</a></li>
            </ul>
        </div>

        <div style="display: none;" class="bd" id="tabBox1-bd">
            <ul>
                <div class="table_box">
                    <form action="user.php" method="post" name="loginForm" id="loginForm" onsubmit="return checkLoginForm(this)">
                        <dl>
                            <dd>
                                <input placeholder="用户名/手机/电子邮件地址" name="username" class="inputBg" id="username" type="text">
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input placeholder="密码" name="password" class="inputBg" type="password">
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input value="1" name="remember" id="remember" style="vertical-align:middle; zoom:200%;" type="checkbox"><label for="remember"> 一个月内免登录</label>
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input name="act" value="act_login" type="hidden">
                                <input name="login" class="c-btn3" value="登录" type="submit">
                                <br>
                            </dd>
                        </dl>
                    </form>
                </div>
            </ul>
        </div>

        <div class="bd" style="">
            <ul style="height:25rem">
                <form action="user.php" method="post" name="formUser" onsubmit="return register();">
                    <input name="flag" id="flag" value="register" type="hidden">
                    <div class="table_box">
                        <dl>
                            <dd>
                                <input placeholder="请输入用户名" class="inputBg" name="username" id="username" type="text">
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input placeholder="请输入电子邮箱" class="inputBg" name="email" id="email" type="text">
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input placeholder="请输入登录密码" class="inputBg" name="password" id="password1" type="password">
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input placeholder="请重新输入一遍密码" class="inputBg" name="confirm_password" id="confirm_password" type="password">
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input id="agreement" name="agreement" value="1" checked="checked" style="vertical-align:middle; zoom:200%;" type="checkbox"><label for="agreement"> 我已看过并同意《<a href="http://m.ecmoban.com/article.php?cat_id=-1">用户协议</a>》</label>
                            </dd>
                        </dl>
                        <dl>
                            <dd>
                                <input name="act" value="act_register" type="hidden">
                                <input name="enabled_sms" value="0" type="hidden">
                                <input name="back_act" value="" type="hidden">
                                <input name="Submit" value="下一步" class="c-btn3" type="submit">
                            </dd>
                        </dl>
                    </div>
                </form>
            </ul>
        </div>
    </div>

    <script type="text/javascript" src="js/sms.js"></script>
</section>

<script type="text/javascript">
    jQuery(function($){
        $('.hd ul li').click(function(){
            var index = $('.hd ul li').index(this);
            $(this).addClass('on').siblings('li').removeClass('on');
            $('.loginBox .bd:eq('+index+')').show().siblings('.bd').hide();
        })
    })
</script>
<div class="blank3"></div>

<script type="text/javascript">
    var process_request = "正在处理您的请求...";
    var username_empty = "用户名不能为空。";
    var username_shorter = "用户名长度不能少于 3 个字符。";
    var username_invalid = "用户名只能是由字母数字以及下划线组成。";
    var password_empty = "登录密码不能为空。";
    var password_shorter = "登录密码不能少于 6 个字符。";
    var confirm_password_invalid = "两次输入密码不一致";
    var email_empty = "Email 为空";
    var email_invalid = "Email 不是合法的地址";
    var agreement = "您没有接受协议";
    var msn_invalid = "msn地址不是一个有效的邮件地址";
    var qq_invalid = "QQ号码不是一个有效的号码";
    var home_phone_invalid = "家庭电话不是一个有效号码";
    var office_phone_invalid = "办公电话不是一个有效号码";
    var mobile_phone_invalid = "手机号码不是一个有效号码";
    var msg_un_blank = "* 用户名不能为空";
    var msg_un_length = "* 用户名最长不得超过7个汉字";
    var msg_un_format = "* 用户名含有非法字符";
    var msg_un_registered = "* 用户名已经存在,请重新输入";
    var msg_can_rg = "* 可以注册";
    var msg_email_blank = "* 邮件地址不能为空";
    var msg_email_registered = "* 邮箱已存在,请重新输入";
    var msg_email_format = "* 邮件地址不合法";
    var msg_blank = "不能为空";
    var no_select_question = "您没有完成密码提示问题的操作";
    var passwd_balnk = "密码中不能包含空格";
    var username_exist = "用户名 %s 已经存在";
    var compare_no_goods = "您没有选定任何需要比较的商品或者比较的商品数少于 2 个。";
    var btn_buy = "购买";
    var is_cancel = "取消";
    var select_spe = "请选择商品属性";
</script>


</body>
</html>